package spring.cloud.tasks.common.zookeeper;

public class Version {

    public final static String version = "yoyo.deer.tasks-0.0.01";

    public static String getVersion() {
        return version;
    }

    /**
     * 高兼容低
     */
    public static boolean isCompatible(String version) {
        return Version.version.compareTo(version) >= 0;
    }

}
